//
//  ShowAlertView.h
//  TengyunStation
//
//  Created by Johnny on 15/11/13.
//  Copyright © 2015年 xingrong. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ReceiverTextField.h"
@class DaishouExpress;

@protocol ShowAlertViewDelegate <NSObject>

- (void)cancelAlertView;

@end

@interface ShowAlertView : UIView<UITextFieldDelegate,ReceiverTextFieldDelegate,UITableViewDataSource,UITableViewDelegate> {
    UIWindow *_alertWindow;
    UIView *_topView;//上半部分界面
    UIView *_bottomView;//下半部分界面
    UITableView *_tableView;
    NSArray *_phoneList;
    ReceiverDBModel *_receiverModel;
    DaishouExpress *_express;
    
    UILabel *_positionLabel;
    UITextField *_expressIdTextField;
    UITextField *_phoneTextField;
    UITextField *_floorTextField;
    UITextField *_roomTextField;

    NSString *_oldFloor;
    NSString *_oldRoom;
}
@property(nonatomic,weak)id<ShowAlertViewDelegate>delegate;

- (id)initWithDaishouExpress:(DaishouExpress *)express;

- (void)show;

@end
